<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Upgrade iRedMail Enterprise Edition</title>
        <link rel="stylesheet" type="text/css" href="./css/markdown.css" />
    </head>
    <body>

    <div id="navigation">
    <a href="https://www.iredmail.org" target="_blank">
        <img alt="iRedMail web site"
             src="./images/logo-iredmail.png"
             style="vertical-align: middle; height: 30px;"
             />&nbsp;
        <span>iRedMail</span>
    </a>
    &nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="upgrade-iredmail-enterprise-edition">Upgrade iRedMail Enterprise Edition</h1>
<p>iRedMail Enterprise Edition is a single binary program, upgrading is simple:</p>
<ul>
<li>Download the latest version from our <a href="https://www.iredmail.org/ee.html">website</a>.</li>
<li>Stop the service.</li>
<li>Replace the program file and set correct owner / group / permission.</li>
<li>Start the service.</li>
<li>Login as global admin and click the <code>Upgrade</code> button. It handles all required
  changes like updating config files, applying SQL structure changes, etc.</li>
</ul>
<p>That's all.</p>
<p>Let's take Linux and amd64 architecture for example:</p>
<pre><code>wget -O /tmp/iredmail https://dl.iredmail.org/ee/iredmail-enterprise-latest-linux-amd64
service iredmail stop
mv /tmp/iredmail /usr/local/bin/iredmail
chown root /usr/local/bin/iredmail
chmod 0500 /usr/local/bin/iredmail
service iredmail start
</code></pre>
<p>After upgraded binary, login to the web UI as global admin. If there's some
update for deployed software like Postfix, Dovecot, Nginx, etc, it will show
a banner with <code>Upgrade</code> button, please click it to finish the upgrade.</p>
<p><img alt="" src="./images/ee/dashboard-upgrade.png" /></p>
<h2 id="see-also">See Also</h2>
<ul>
<li><a href="./install.ee.html">Install iRedMail Enterprise Edition</a></li>
<li><a href="./ee.changelog.html">ChangeLog of iRedMail Enterprise Edition</a></li>
</ul><div class="footer">
    <p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div></body></html>